package service.edu.entity.subject;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(description = "一级分类课程")
public class FirstSubject {
    private String id;
    private String title;
    //一个一级分类有多个二级分类
    List<SecondSubject> children=new ArrayList<>();
}
